package com.orion.app.domain.entity;

import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.jpa.entity.RooJpaEntity;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord
@RooJpaEntity(sequenceName = "feedback_seq")
public class EmployeeFeedback {

    @NotNull
    @ManyToOne
    private EmployeeDetails employee;

    @NotNull
    @ManyToOne
    private PreconfirmationFeedbackDescription preconfirmationFeedbackDescription;

    @ManyToOne
    private PreconfirmationFeedbackAction preconfirmationFeedbackAction;

    @Size(max = 200)
    private String preconfirmationRemarks;

    @ManyToOne
    private FirstWeekFeedbackDescription firstWeekFeedbackDescription;

    @ManyToOne
    private FirstWeekFeedbackAction firstWeekFeedbackAction;

    @Size(max = 200)
    private String firstWeekFeedbackRemarks;

    @ManyToOne
    private ClarityFeedbackDescription clarityFeedbackDescription;

    @ManyToOne
    private ClarityFeedbackAction clarityFeedbackAction;

    @Size(max = 200)
    private String clarityFeedbackRemarks;
}
